package com.atguigu.order.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author fhs
 * Create by 2025/6/23 16:52
 */

@Data
@Component
@ConfigurationProperties(prefix = "order")//配置批量绑定在nacos下，可以无需@RefreshScope就能实现自动刷新
public class OrderProperties {
    String TimeOut;
    String autoConfig;
    String dbUrl;
}
